package com.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department {
    private int id;//部门编号
    private int coding;//部门编码
    private String name;//部门名称
    private String remark;//备注
    private int super_id ;//上级编号
    private Department department;
    private List<Department> treeList =new ArrayList<>();
}
